package com.base.kongjian.entity;

import com.mysteel.core.Entity;
/**
 * 
 * @author chendonglin
 *
 */
public class Comment implements Entity
{

	
	private static final long serialVersionUID = -1308498459937960701L;
	
	private long id;			//PK
	
	private int workKind;		//作品种类1-微博,2-视频,3-音乐,4-帖子,5-照片	
	
	private long workId; 		//比如微博ID,音乐ID,视频ID..
	
	private long memberId;		//会员ID
	
	private long comment_MId ;	//评论的会员ID
	
	private String content;		//评论的类容
	
	private long commentTime;	//评论的时间

	public long getId()
	{
		return id;
	}

	public void setId(long id)
	{
		this.id = id;
	}

	public int getWorkKind()
	{
		return workKind;
	}

	public void setWorkKind(int workKind)
	{
		this.workKind = workKind;
	}

	public long getWorkId()
	{
		return workId;
	}

	public void setWorkId(long workId)
	{
		this.workId = workId;
	}

	public long getMemberId()
	{
		return memberId;
	}

	public void setMemberId(long memberId)
	{
		this.memberId = memberId;
	}

	public long getComment_MId()
	{
		return comment_MId;
	}

	public void setComment_MId(long comment_MId)
	{
		this.comment_MId = comment_MId;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public long getCommentTime()
	{
		return commentTime;
	}

	public void setCommentTime(long commentTime)
	{
		this.commentTime = commentTime;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}

	public Comment(long id, int workKind, long workId, long memberId,
			long comment_MId, String content, long commentTime)
	{
		super ();
		this.id = id;
		this.workKind = workKind;
		this.workId = workId;
		this.memberId = memberId;
		this.comment_MId = comment_MId;
		this.content = content;
		this.commentTime = commentTime;
	}

	public Comment()
	{
		super ();
	}
}
